package com.example.english.mapper;

import com.example.english.pojo.Teacher;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface LoginMapper {

    /**
     *   教师登录
     */
    @Select("select * from teacher where Account = #{Account} and Password = #{Password}")
    Teacher login(Teacher teacher);
}
